/*
 * Copyright (C) 2016 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

// this is legacy stuff, don't use it. please delete it if you can

table.side_tabs_table {
  border-collapse: collapse;
  td {
    vertical-align: top;
    &.left {
      width: 25%;
      border-right: 1px solid #ccc;
      padding-right: 5px;
    }
    &.right {
      width: 65%;
      border-left: 1px solid #ccc;
      padding-left: 5px;
    }
  }
  ul.side_tabs {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 300px;
    overflow: auto;
    min-width: 150px;
    li {
      padding: 2px 5px;
      margin-bottom: 3px;
      cursor: pointer;
      &:hover {
        background-color: #eee;
      }
      &.selected_side_tab {
        font-weight: bold;
        background-color: #ddd;
      }
      div.sub_content {
        font-size: 0.8em;
        padding-left: 10px;
        color: #888;
      }
    }
  }
  div.side_tabs_content {
    max-height: 300px;
    overflow: auto;
  }
  div.side_tabs_content_with_room_for_button {
    max-height: 252px;
    overflow: auto;
  }
}